package com.hsylient.simplefactory;

public class SimpleFactoryTest {
    public static void main(String[] args) {
        Pizza chinesePizza = SimpleFactory.getInstance("chinesePizza");
        chinesePizza.prepare();
        Pizza japanPizza = SimpleFactory.getInstance("japanPizza");
        japanPizza.prepare();
    }
}
